Optimal. Leaf size=174 \[ \frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^3\right )\right )+\frac{b \log \left (c^{2/3} x^2-\sqrt [3]{c} x+1\right )}{16 c^{4/3}}-\frac{b \log \left (c^{2/3} x^2+\sqrt [3]{c} x+1\right )}{16 c^{4/3}}+\frac{\sqrt{3} b \tan ^{-1}\left (\frac{1}{\sqrt{3}}-\frac{2 \sqrt [3]{c} x}{\sqrt{3}}\right )}{8 c^{4/3}}-\frac{\sqrt{3} b \tan ^{-1}\left (\frac{2 \sqrt [3]{c} x}{\sqrt{3}}+\frac{1}{\sqrt{3}}\right )}{8 c^{4/3}}-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} x\right )}{4 c^{4/3}}+\frac{3 b x}{4 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.219734, antiderivative size = 174, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 8, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.571, Rules used = {6097, 321, 210, 634, 618, 204, 628, 206} \[ \frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^3\right )\right )+\frac{b \log \left (c^{2/3} x^2-\sqrt [3]{c} x+1\right )}{16 c^{4/3}}-\frac{b \log \left (c^{2/3} x^2+\sqrt [3]{c} x+1\right )}{16 c^{4/3}}+\frac{\sqrt{3} b \tan ^{-1}\left (\frac{1}{\sqrt{3}}-\frac{2 \sqrt [3]{c} x}{\sqrt{3}}\right )}{8 c^{4/3}}-\frac{\sqrt{3} b \tan ^{-1}\left (\frac{2 \sqrt [3]{c} x}{\sqrt{3}}+\frac{1}{\sqrt{3}}\right )}{8 c^{4/3}}-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} x\right )}{4 c^{4/3}}+\frac{3 b x}{4 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6097
Rule 321
Rule 210
Rule 634
Rule 618
Rule 204
Rule 628
Rule 206
Rubi steps
\begin{align*} \int x^3 \left (a+b \tanh ^{-1}\left (c x^3\right )\right ) \, dx &=\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^3\right )\right )-\frac{1}{4} (3 b c) \int \frac{x^6}{1-c^2 x^6} \, dx\\ &=\frac{3 b x}{4 c}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^3\right )\right )-\frac{(3 b) \int \frac{1}{1-c^2 x^6} \, dx}{4 c}\\ &=\frac{3 b x}{4 c}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^3\right )\right )-\frac{b \int \frac{1}{1-c^{2/3} x^2} \, dx}{4 c}-\frac{b \int \frac{1-\frac{\sqrt [3]{c} x}{2}}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx}{4 c}-\frac{b \int \frac{1+\frac{\sqrt [3]{c} x}{2}}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx}{4 c}\\ &=\frac{3 b x}{4 c}-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} x\right )}{4 c^{4/3}}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^3\right )\right )+\frac{b \int \frac{-\sqrt [3]{c}+2 c^{2/3} x}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx}{16 c^{4/3}}-\frac{b \int \frac{\sqrt [3]{c}+2 c^{2/3} x}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx}{16 c^{4/3}}-\frac{(3 b) \int \frac{1}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx}{16 c}-\frac{(3 b) \int \frac{1}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx}{16 c}\\ &=\frac{3 b x}{4 c}-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} x\right )}{4 c^{4/3}}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^3\right )\right )+\frac{b \log \left (1-\sqrt [3]{c} x+c^{2/3} x^2\right )}{16 c^{4/3}}-\frac{b \log \left (1+\sqrt [3]{c} x+c^{2/3} x^2\right )}{16 c^{4/3}}-\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-2 \sqrt [3]{c} x\right )}{8 c^{4/3}}+\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1+2 \sqrt [3]{c} x\right )}{8 c^{4/3}}\\ &=\frac{3 b x}{4 c}+\frac{\sqrt{3} b \tan ^{-1}\left (\frac{1-2 \sqrt [3]{c} x}{\sqrt{3}}\right )}{8 c^{4/3}}-\frac{\sqrt{3} b \tan ^{-1}\left (\frac{1+2 \sqrt [3]{c} x}{\sqrt{3}}\right )}{8 c^{4/3}}-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} x\right )}{4 c^{4/3}}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^3\right )\right )+\frac{b \log \left (1-\sqrt [3]{c} x+c^{2/3} x^2\right )}{16 c^{4/3}}-\frac{b \log \left (1+\sqrt [3]{c} x+c^{2/3} x^2\right )}{16 c^{4/3}}\\ \end{align*}
Mathematica [A] time = 0.0424553, size = 196, normalized size = 1.13 \[ \frac{a x^4}{4}+\frac{b \log \left (c^{2/3} x^2-\sqrt [3]{c} x+1\right )}{16 c^{4/3}}-\frac{b \log \left (c^{2/3} x^2+\sqrt [3]{c} x+1\right )}{16 c^{4/3}}+\frac{b \log \left (1-\sqrt [3]{c} x\right )}{8 c^{4/3}}-\frac{b \log \left (\sqrt [3]{c} x+1\right )}{8 c^{4/3}}-\frac{\sqrt{3} b \tan ^{-1}\left (\frac{2 \sqrt [3]{c} x-1}{\sqrt{3}}\right )}{8 c^{4/3}}-\frac{\sqrt{3} b \tan ^{-1}\left (\frac{2 \sqrt [3]{c} x+1}{\sqrt{3}}\right )}{8 c^{4/3}}+\frac{1}{4} b x^4 \tanh ^{-1}\left (c x^3\right )+\frac{3 b x}{4 c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.015, size = 184, normalized size = 1.1 \begin{align*}{\frac{{x}^{4}a}{4}}+{\frac{b{x}^{4}{\it Artanh} \left ( c{x}^{3} \right ) }{4}}+{\frac{3\,bx}{4\,c}}+{\frac{b}{8\,{c}^{2}}\ln \left ( x-\sqrt [3]{{c}^{-1}} \right ) \left ({c}^{-1} \right ) ^{-{\frac{2}{3}}}}-{\frac{b}{16\,{c}^{2}}\ln \left ({x}^{2}+\sqrt [3]{{c}^{-1}}x+ \left ({c}^{-1} \right ) ^{{\frac{2}{3}}} \right ) \left ({c}^{-1} \right ) ^{-{\frac{2}{3}}}}-{\frac{b\sqrt{3}}{8\,{c}^{2}}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{\frac{x}{\sqrt [3]{{c}^{-1}}}}+1 \right ) } \right ) \left ({c}^{-1} \right ) ^{-{\frac{2}{3}}}}-{\frac{b}{8\,{c}^{2}}\ln \left ( x+\sqrt [3]{{c}^{-1}} \right ) \left ({c}^{-1} \right ) ^{-{\frac{2}{3}}}}+{\frac{b}{16\,{c}^{2}}\ln \left ({x}^{2}-\sqrt [3]{{c}^{-1}}x+ \left ({c}^{-1} \right ) ^{{\frac{2}{3}}} \right ) \left ({c}^{-1} \right ) ^{-{\frac{2}{3}}}}-{\frac{b\sqrt{3}}{8\,{c}^{2}}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{\frac{x}{\sqrt [3]{{c}^{-1}}}}-1 \right ) } \right ) \left ({c}^{-1} \right ) ^{-{\frac{2}{3}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.07704, size = 2611, normalized size = 15.01 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: KeyError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.31662, size = 279, normalized size = 1.6 \begin{align*} \frac{1}{16} \, b c^{7}{\left (\frac{2 \, \left (-\frac{1}{c}\right )^{\frac{1}{3}} \log \left ({\left | x - \left (-\frac{1}{c}\right )^{\frac{1}{3}} \right |}\right )}{c^{8}} - \frac{2 \, \sqrt{3}{\left | c \right |}^{\frac{2}{3}} \arctan \left (\frac{1}{3} \, \sqrt{3} c^{\frac{1}{3}}{\left (2 \, x + \frac{1}{c^{\frac{1}{3}}}\right )}\right )}{c^{9}} - \frac{2 \, \sqrt{3} \left (-c^{2}\right )^{\frac{1}{3}} \arctan \left (\frac{\sqrt{3}{\left (2 \, x + \left (-\frac{1}{c}\right )^{\frac{1}{3}}\right )}}{3 \, \left (-\frac{1}{c}\right )^{\frac{1}{3}}}\right )}{c^{9}} - \frac{{\left | c \right |}^{\frac{2}{3}} \log \left (x^{2} + \frac{x}{c^{\frac{1}{3}}} + \frac{1}{c^{\frac{2}{3}}}\right )}{c^{9}} + \frac{2 \, \log \left ({\left | x - \frac{1}{c^{\frac{1}{3}}} \right |}\right )}{c^{\frac{25}{3}}} - \frac{\left (-c^{2}\right )^{\frac{1}{3}} \log \left (x^{2} + x \left (-\frac{1}{c}\right )^{\frac{1}{3}} + \left (-\frac{1}{c}\right )^{\frac{2}{3}}\right )}{c^{9}}\right )} + \frac{1}{8} \, b x^{4} \log \left (-\frac{c x^{3} + 1}{c x^{3} - 1}\right ) + \frac{1}{4} \, a x^{4} + \frac{3 \, b x}{4 \, c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]